import http from '@/utils/http.js'
// 获取用户专业课程
export function getUserProfessionCourse(params = {}) {
  return http.get('/app/iap/user_profession_course', params)
}
// 获取顶级导航
export function getRecruit(params = {}) {
  return http.get('/newsapi/api/recruit', params)
}
// 获取二级导航
export function getSubNav(params = {}) {
  return http.get('/newsapi/web/nav', params)
}
// 获取banner
export function getBanner(params = {}) {
  return http.get('/newsapi/web/banner', params)
}
// 获取专业首页数据
export function getProfessionHome(params = {}) {
  return http.get('/newsapi/web/profession_home', params)
}
// 获取实操banner
export function getScBanner(params = {}) {
  return http.get('/newsapi/api/sc_banner', params)
}
// 获取证书
export function getCertificater(params = {}) {
  return http.get('/newsapi/api/certificate', params)
}
// 获取栏目页广告
export function getSpecialTopicList(params = {}) {
  return http.get('/newsapi/api/special_topic_list', params)
}
// 获取专业新闻
export function getProfessionNews(params = {}) {
  return http.get('/newsapi/web/profession_news', params)
}
// 获取专业老师
export function getProfessionTeachers(params = {}) {
  return http.get('/newsapi/web/profession_teachers', params)
}
// 获取实操推荐
export function getShicaoRecommend(params = {}) {
  return http.get('/newsapi/web/shicao_recommend', params)
}
// 获取中心数据
export function getResearchCenter(params = {}) {
  return http.get('/newsapi/web/research_center', params)
}
